package com.entity;

import java.util.Date;

/**医生**/
public class Doctor {
    private String name;
    private String identityId;
    private String department;
    private String workId;
    private String doctorPwd;
    private int sex;    //1为男性 0为女性
    private String phone;
    private int age;
    private Date bornDate;
    private String doctorCost; //这名医生挂号费


    public Date getBornDate() {
        return bornDate;
    }

    public void setDoctorPwd(String doctorPwd) {
        this.doctorPwd = doctorPwd;
    }

    public String getDoctorPwd() {
        return doctorPwd;
    }

    public void setBornDate(Date bornDate) {
        this.bornDate = bornDate;
    }

    public Doctor(){}

    public Doctor(String workId, String doctorPwd){
        this.workId = workId;
        this.doctorPwd = doctorPwd;
    }

    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public void setIdentityId(String identityId) {
        this.identityId = identityId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public String getPhone() {
        return phone;
    }

    public int getSex() {
        return sex;
    }

    public String getDepartment() {
        return department;
    }

    public String getIdentityId() {
        return identityId;
    }

    public String getName() {
        return name;
    }

    public String getCost() {
        return doctorCost;
    }

    public void setCost(String doctorCost) {
        this.doctorCost = doctorCost;
    }
}
